package com.spring.dao.blog;

import java.util.List;

import com.spring.bean.blog.BlogComment;
import com.spring.bean.page.Page;
import com.spring.bean.page.PageView;
import com.spring.exception.DaoException;

public interface BlogCommentDao {

	public boolean insert(BlogComment blogComment) throws DaoException;

	public boolean update(BlogComment blogComment) throws DaoException; 

	public boolean delete(Integer id) throws DaoException;

	public BlogComment getById(Integer id) throws DaoException;

	public List<BlogComment> queryForList() throws DaoException;

	public PageView<BlogComment> queryForPage(Page page) throws DaoException;
}